package com.zy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
//import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zy.domain.User;
import org.apache.ibatis.annotations.Mapper;


//@Mapper
public interface UserMapper extends BaseMapper<User> {

  /**
   * 通过用户名和密码查询用户
   * @param userName
   * @param pwd
   * @return
   */
   User  selectUser(String userName,String pwd);

  /**
   * 通过电话号查询用户
   * @param phoneNum
   * @return
   */
   User  getUserByPhone(String phoneNum);
}
